package com.scwatch.ext.service;

import com.scwatch.ext.domain.ScheduleJob;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import java.util.List;
import java.util.Map;

public interface ScheduleJobService {

    Page<ScheduleJob> findAll(Integer siteId, Map<String, String[]> params, Pageable pageable);

    void deleteByPrimaryKey(Integer[] ids);

    ScheduleJob insert(ScheduleJob record);

    ScheduleJob insertSelective(ScheduleJob record);

    List<ScheduleJob> finByNameAndGroup(String jobName,String jobGroup);

    ScheduleJob selectByPrimaryKey(Integer jobId);

    ScheduleJob updateByPrimaryKeySelective(ScheduleJob record);

    ScheduleJob updateByPrimaryKey(ScheduleJob record);

    List<ScheduleJob> getAll(Integer siteId);

    List<ScheduleJob> getAll();

    List<ScheduleJob> findByjobName(String jobName);

    List<ScheduleJob> finByClassAndMethod(String beanClass, String methodName);


}
